package com.tr.ssocms.service;

import com.tr.common.bo.Member;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("MemberServer")
public interface RemoteMemberService {
    /**
     * 远程调用member
     */
    @GetMapping("/member/queryByUsername")
    public Member queryByUsername(@RequestParam("userName") String userName);
}
